Piwik\Tracker\GoalManager D

Total Complexity 135
Dependencies 20
Dependents 40
Total lines 764
Lines of code 511
Logical lines of code 351
Comment lines 188
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
getCleanedEcommerceItems()
B
38 18 66
detectGoalMatch()
B
46 17 33
recordGoals()
A
51 9 24
isGoalPatternMatchingUrl()
A
47 8 35
recordEcommerceItems()
A
45 7 42
recordEcommerceGoal()
A
45 7 41
insertNewConversion()
S
54 7 19
recordStandardGoals()
S
49 6 28
getGoalFromVisitor()
S
54 6 19
detectNumericGoalMatch()
S
50 5 29
detectGoalsMatchingUrl()
S
59 4 14
triggerHookOnDimensions()
S
59 4 14
getItemRowEnriched()
S
54 3 20
detectGoalId()
S
59 3 14
getEcommerceItemsFromRequest()
S
60 3 14
insertEcommerceItems()
S
62 3 12
updateEcommerceItems()
S
62 3 12
formatRegex()
S
69 3 6
getGoalDefinition()
S
65 3 9
isUrlMatchingGoal()
S
64 2 10
detectIsThereExistingCartInVisit()
S
66 2 8
getGoalColumn()
S
71 2 6
getGoalDefinitions()
S
68 2 7
getRevenue()
S
69 2 7
getGoalIds()
S
67 2 8
makeRandomMySqlUnsignedInt()
S
72 1 5
getItemRowCast()
S
75 1 3
getModel()
S
79 1 3
isEventMatchingGoal()
S
77 1 3